Skip to content

Conversation

@hgreebe
Copy link
Contributor

@hgreebe hgreebe commented Feb 19, 2025

Description of changes

  • Add support for Ubuntu24
  • Add ubuntu24 kitchen tests

Tests

  • Ran build image for ubuntu2404
  • Ran first and second stage build pipelines

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hgreebe hgreebe marked this pull request as ready for review February 19, 2025 17:14
@hgreebe hgreebe requested review from a team as code owners February 19, 2025 17:14
action_class do
def armpl_platform
"Ubuntu-#{node['platform_version']}"
"Ubuntu-22.04"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpicks:
Rename the file to *22+.rband add a comment that armpl_plaform is hardcoded toUbuntu-22.04` as that the folder in s3 which we look for the tar file

# frozen_string_literal: true

#
# Copyright:: 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix copyright year

# http://aws.amazon.com/apache2.0/
#
# or in the "LICENSE.txt" file accompanying this file.
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick on renaming the file to ubuntu22+


provides :nvidia_driver, platform: 'ubuntu' do |node|
node['platform_version'].to_i == 22
node['platform_version'].to_i >= 22
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

kitchen.ec2.yml Outdated
driver:
<% if ENV['KITCHEN_UBUNTU2404_AMI'] %>
# Use the Ubuntu 22 AMI most similar to the base AMI used to build the ParallelCluster image
image_id: <%= ENV['KITCHEN_UBUNTU2204_AMI'] %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be KITCHEN_UBUNTU2404_AMI

@hgreebe hgreebe enabled auto-merge (squash) February 20, 2025 00:10
@hgreebe hgreebe merged commit 0b72979 into aws:develop Feb 20, 2025
28 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants